Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Digitization


VDSetFrameRate

The VDSetFrameRate function allows an application to indicate its desired frame
rate to the video digitizer. Note that some digitizers may not be able to support high frame rates.

pascal VideoDigitizerError VDSetFrameRate
                                  (VideoDigitizerComponent ci, 
                                    Fixed framesPerSecond);
ci
Identifies the application's connection to the video digitizer component. An application obtains this value from the Component Manager's OpenComponent function.
framesPerSecond

Specifies the application's desired frame rate. Applications may set
this parameter to 0 to return the digitizer to its default frame rate (typically 29.97 frames per second).
DESCRIPTION
In some cases, the digitizer component may not be able to control its frame rate. These digitizers can run at only a single rate of speed. In this case, the digitizer returns a result code of digiUnimpErr.

RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help